package com.sky.mapper;

import com.sky.dto.CategoryDTO;
import com.sky.dto.SetmealDTO;
import com.sky.po.CategoryPO;
import com.sky.po.SetmealPO;
import com.sky.vo.SetmealVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Content: Category实体的Mmapstruct转换
 * @Author: Asen
 * @Date: 2023/8/31 14:20
 */
@Mapper
public interface SetmealMapper {
    SetmealMapper INSTANCE = Mappers.getMapper(SetmealMapper.class);

    SetmealDTO POConvertDTO(SetmealPO source);

    SetmealPO DTOConvertPO(SetmealDTO source);

    SetmealVO POConvertVO(SetmealPO source);
}
